import Layout from '@/layout'

export default {
  path: '/stock',
  component: Layout,
  redirect: '/dashboard',
  meta: {
    title: '入库管理',
    icon: 'el-icon-notebook-2'
  },
  children: [
    {
      path: 'list',
      component: () => import('@/views/stock/list'),
      meta: {
        title: '入库单'
      }
    },
    {
      path: 'list-task',
      component: () => import('@/views/stock/task-receive'),
      meta: {
        title: '收货任务'
      }
    },
    {
      path: 'task-add',
      component: () => import('@/views/stock/task-add'),
      meta: {
        title: '上架任务'
      }
    }

  ]
}
